import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login/Login'
import Homepage from '@/components/Login/Homepage'
import Home from '@/components/Home'
import Article from '@/components/navmen/content/Article'
import Banner from '@/components/navmen/content/Banner'
import Keyword from '@/components/navmen/content/Keyword'
import Dynamic from '@/components/navmen/review/Dynamic'
import Question from '@/components/navmen/review/Question'
import Reply from '@/components/navmen/review/Reply'
import User from '@/components/navmen/User/User'
import Video from '@/components/navmen/content/Video'
import Seapk from '@/components/navmen/content/Seapk'
import Recommend from '@/components/navmen/content/Recommend'
import editor from '@/components/navmen/content/Articel/editorArticel'
import comment from '@/components/navmen/review/comment'
import Opinion from '@/components/navmen/review/Opinion'
import Report from '@/components/navmen/review/Report'
import Admin from '@/components/navmen/Admin/Admin'
import Push from '@/components/navmen/Push/Push'
import Version from '@/components/navmen/Push/Version'
import Useradmin from '@/components/navmen/User/Useradmin'
import Role from '@/components/navmen/User/Role'
import Hospital from '@/components/navmen/Hospital/Hospital'  
import Attest from '@/components/navmen/Hospital/Attest'  
import Information from '@/components/navmen/Hospital/Information'
import Activitylist from '@/components/navmen/Activity/Activitylist'
import ActivitySeach from '@/components/navmen/Activity/ActivitySeach'
import DoctorsList from '@/components/navmen/Doctors/DoctorsList'
import DoctorsSeach from '@/components/navmen/Doctors/DoctorsSeach'
import Reserve from '@/components/navmen/Reserve/Reserve'
import RunningWater from '@/components/navmen/Finance/RunningWater'
import BuyAnnal from '@/components/navmen/Finance/BuyAnnal'
import HospitalOver from '@/components/navmen/Finance/HospitalOver'
import DynamicRebate from '@/components/navmen/Finance/DynamicRebate'
import HospitalRebate from '@/components/navmen/Finance/HospitalRebate'
import Refund from '@/components/navmen/Finance/Refund'
import CommoLable from '@/components/navmen/Commodity/CommoLable'
import CommoList from '@/components/navmen/Commodity/CommoList'
import CommoType from '@/components/navmen/Commodity/CommoType'
import CommoReview from '@/components/navmen/Commodity/CommoReview'
import Mark from '@/components/navmen/Mark/Mark'         //标签管理
/* 
 * 移动分享
 */ 



Vue.use(Router)

export default new Router({
  routes: [
    {
      path:'/',
      name:'Login',
      component:Login
    },
    {
      path:'/Home',
      name:Home,
      component:Home
    },
    {
      path: '/Home',
      name: 'Home',
      component: Home,
      children:[{
        path:'Homepage',
        component:Homepage,
      },
      {
        path:'Article',
        component:Article,
      },
      {
        path:'Banner',
        component:Banner,
      },
      {
        path:'Keyword',
        component:Keyword,
      },
      {
        path:'editor',
        component:editor,
      },
      {
        path:'Mark',
        component:Mark,
      },
      {
        path:'Seapk',
        component:Seapk,
      },
      {
        path:'Dynamic',
        component:Dynamic,
      },
      {
        path:'comment',
        component:comment,
      },
      {
        path:'Question',
        component:Question,
      },
      {
        path:'Reply',
        component:Reply,
      },
      {
        path:'Opinion',
        component:Opinion
      },
      {
        path:'Report',
        component:Report
      },
      {
        path:'User',
        component:User,
      },
      {
        path:'Useradmin',
        component:Useradmin,
      },
      
      {
        path:'Admin',
        component:Admin
      },
      {
        path:'Video',
        component:Video,
      },
      {
        path:'Push',
        component:Push,
      },
      {
        path:'Version',
        component:Version,
      },
      {
        path:'Role',
        component:Role,
      },
      {
        path:'Recommend',
        component:Recommend,
      },
      {
        path:'Activitylist',
        component:Activitylist,
      },
      {
        path:'ActivitySeach',
        component:ActivitySeach,
      },
      {
        path:'Hospital',
        component:Hospital,
      },
      {
        path:'Attest',
        component:Attest,
      },
      {
        path:'DoctorsList',
        component:DoctorsList,
      },
      {
        path:'DoctorsSeach',
        component:DoctorsSeach,
      },
      {
        path:'Information',
        component:Information,
      },
      {
        path:'Refund',
        component:Refund,
      },
      {
        path:'RunningWater',
        component:RunningWater,
      },
      {
        path:'BuyAnnal',
        component:BuyAnnal,
      },
      {
        path:'HospitalOver',
        component:HospitalOver,
      },
      {
        path:'DynamicRebate',
        component:DynamicRebate,
      },
      {
        path:'HospitalRebate',
        component:HospitalRebate, 
      },
      {
        path:'CommoLable',
        component:CommoLable,
      },
      {
        path:'CommoList',
        component:CommoList,
      },    
      {
        path:'CommoType',
        component:CommoType,
      },  
      {
        path:'CommoReview',
        component:CommoReview,
      },  
      {
        path:'Reserve',
        component:Reserve,
      }]
    }
    
  ]
})
